﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using System.Diagnostics;
using System.Threading;
using Hallenberg.SmartClient.Properties;
using Hallenberg.SmartClient.Interfaces;

namespace Hallenberg.SmartClient
{
    public class Modules
    {
        [Dependency]
        public IServiceLocator ServiceLocator { get; set; }

        internal IEnumerable<IBaseModule> AllModules
        {
            get
            {
                return this.ServiceLocator.ResolveAll<IBaseModule>();
            }
        }
    }
}
